import request from '@/utils/request'

const baseUrl = ''

export function searchWhois(domain) {
  return request({
    url: baseUrl + '/whois/' + domain,
    method: 'get'
  })
}

export function searchDns(domain) {
  return request({
    url: baseUrl + '/dns/' + domain,
    method: 'get'
  })
}

export function searchIP(ipaddress) {
  return request({
    url: baseUrl + '/host/' + ipaddress,
    method: 'get'
  })
}
